package com.qch.concurrent.demo_02_join;

/**
 * @Author qch
 * @Date 2021/7/26

 */
public class Main {
    public static void main(String[] args) throws InterruptedException {
        MyThread myThread = new MyThread();
        myThread.start();
        //如果没有join，main线程就直接先执行完了，join之后等待执行完才执行最后print
      //  myThread.join();
        System.out.println(Thread.currentThread().getName());
    }
}
